<!-- 关于我们 -->
<template><view>
	<view class="page flex flex-column align-center">
		<view class="border flex justify-center align-center">
			<view class="portrait">
				<image :src="item.headPortrait" mode="">
				</image>
			</view>
		</view>
		<view class="introduction">
			<view class="title flex justify-center align-center flex-column">
				<view class="top">
					公司简介
				</view>
				<view class="icon">

				</view>
			</view>
			<view class="text">
				{{item.companyProfile}}
			</view>
		</view>
		<view class="line">

		</view>
		<view class="difference flex justify-center flex-column align-center">
			<view class="title flex justify-center align-center flex-column">
				<view class="top">
					项目介绍
				</view>
				<view class="icon">

				</view>
			</view>
			<view class="recruitment flex align-center flex-column">
				<view class="top flex align-center">
					<view class="icon">

					</view>
					<view class="text">
						猎头招聘
					</view>
				</view>
				<view class="textarea">
					{{item.headhuntingRecruitment}}
				</view>
			</view>
			<view class="recruitment flex align-center flex-column">
				<view class="top flex align-center">
					<view class="icon">

					</view>
					<view class="text">
						普通招聘
					</view>
				</view>
				<view class="textarea">
					{{item.generalRecruitment}}
				</view>
			</view>
			
		</view>
	</view>
	<view class="bottom"></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				item:''
			}
		},
		onLoad() {
			this.getData()
		},
		methods: {
			async getData(){
				let {data: item} =await this.$get('/user/aboutUs')
				console.log(item)
				this.item = item
			}
		}
	}
</script>

<style lang="scss">
	.page {
		padding: 100rpx 30rpx env(safe-area-inset-bottom) 30rpx;
		
		.border {
			width: 228rpx;
			height: 228rpx;
			border: 2rpx solid #0265EB;
			border-radius: 50%;

			.portrait {
				width: 218rpx;
				height: 218rpx;
				background: #C8C8C8;
				border-radius: 50%;
				overflow: hidden;
			}
		}

		.introduction {
			margin-top: 86rpx;

			.title {
				.top {
					font-weight: bold;
					color: #333333;
					font-size: 36rpx;
				}

				.icon {
					width: 40rpx;
					height: 5rpx;
					background: #0265EB;
					border-radius: 3rpx;
					margin-top: 15rpx;
				}
			}

			.text {
				width: 690rpx;
				margin-top: 30rpx;
				font-weight: 500;
				color: #333333;
			}
		}

		.line {
			width: 690rpx;
			height: 1rpx;
			background: #000000;
			opacity: 0.12;
			margin: 60rpx 0;
		}

		.difference {
			.title {
				.top {
					font-weight: bold;
					color: #333333;
					font-size: 36rpx;
				}
				.icon{
					width: 40rpx;
					height: 5rpx;
					background: #0265EB;
					border-radius: 3rpx;
					margin-top: 15rpx;
				}
			}

			.recruitment {
				margin-top: 40rpx;
				width: 690rpx;
				.top {
					width: 690rpx;
					.icon{
						width: 4rpx;
						height: 30rpx;
						background: #0265EB;
						background: #0265EB;
						border-radius: 3rpx;
						margin-right: 15rpx;
						margin-top: 3rpx;
					}
					.text{
						font-weight: bold;
						color: #333333;
						font-size: 32rpx;
						line-height: 1;
					}
				}

				.textarea {
					width: 690rpx;
					margin-top: 30rpx;
				}
			}
		}
	}
	.bottom{
		width: 100%;
		height: env(safe-area-inset-bottom);
		background-color: #FFFFFF;
		position: fixed;
		bottom: 0;
	}
</style>
